<template>
  <div>
    <h1>Two</h1>
    count:{{ count }} message:{{ message }}
    <button @click="fn1">祖宗的函数</button>
  </div>
</template>

<script>
  export default {
    name: "Two",
    inject: ["count", "message", "fn1"],
    mounted() {},
  };
</script>

<style></style>
